using System.ComponentModel.DataAnnotations;

namespace UcAsp.Net.Model
{
    [Table("Categories")]
    public class Categories
    {
        [Key]
        public int ID { get; set; }

        public string CategorieName { get; set; }

        public int ParentID { get; set; }

        public string TmepPath { get; set; }

        public string ContentTempPath { get; set; }

        public string Remark { get; set; }

        public string KeyWords { get; set; }

        public int Rate { get; set; }

        public string ShowPath { get; set; }

        // [ForeignKey("CategorieID")]
        // public List<Articles> Articless { get; set; }
    }

    public class CategoriesTree
    {
        public int ID { get; set; }

        public string CategorieName { get; set; }

        public int ParentID { get; set; }

        public int Depth { get; set; }

        public string ShowPath { get; set; }
    }
}